package com.master.service.message;

import com.master.common.baseService.BaseServiceImpl;
import com.master.common.utils.EmptyUtil;
import com.master.constant.model.SysMessage;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author Heath.Que
 * @version 1.0
 * @classname SysMessageServiceImpl
 * @description TODO
 * @Date 2021/6/4 17:47
 **/
@Service
public class SysMessageServiceImpl extends BaseServiceImpl implements SysMessageService {


    @Override
    public List<Map<String, Object>> getMessageByCondition(SysMessage sysMessage) {
        return null;
    }

    @Override
    public Boolean addMessages(SysMessage sysMessage) {
        if (EmptyUtil.isEmpty()){
            return false;
        }
        boolean mark = false;
        try {
            mark = true;
        }catch (Exception e){
            getLogger().error(e.getMessage());
        }
        return mark;
    }
}
